package com.kob.backend.service.impl.shopcarts;

import com.kob.backend.mapper.ShopcartsMapper;
import com.kob.backend.pojo.product;
import com.kob.backend.service.shopcarts.ShopcartsGetService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class ShopcartsGetServiceImpl implements ShopcartsGetService {
    @Autowired
    private ShopcartsMapper shopcartsMapper;
    @Override
    public List<product> getshopcarts(Integer userid) {
           return shopcartsMapper.getshopcarts(userid);
    }
}
